import java.util.ArrayList;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        ArrayList<Integer>arr=new ArrayList<>();
        char ar=(char)(2+'0');
        arr.add(0,7);
        arr.add(0,6);
        for (int x:arr) {
            System.out.println(x);
        }
    }
    public static void main2(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            String str = sc.nextLine();
            int left = 0;
            int right = 0;
            int count = 0;
            int rel = 0, res = 0;
            while (left <= right && right < str.length()) {
                if (str.charAt(right) >= '0' && str.charAt(right) <= '9') {
                    right++;
                } else {
                    if (left == right) {
                        left++;
                        right++;
                    } else if ((right - left) > count) {
                        count = right - left;
                        rel = left;
                        res = right - 1;
                        left = right;
                    } else {
                        left = right;
                    }
                }
            }
            if ((right - left) > count) {
                count = right - left;
                rel = left;
                res = right - 1;
            }
            for (int i = rel; i <= res; i++) {
                System.out.print(str.charAt(i));
            }
        }
    }
}